drivers: fix switch statements to comply with MISRA rules
authorJonathan Wright <[email protected]>
Tue, 13 Mar 2018 15:24:29 +0000 (15:24 +0000)
committerJonathan Wright <[email protected]>
Mon, 26 Mar 2018 11:43:05 +0000 (12:43 +0100)
commit5aa7498abdddcfd4ac8a04d7726798d452f13bb2
tree9a6d278ea74afc2412e91b1a027ba448684ede7c
parentc9662db960526757a755f34da4c79742a1c2acf3
drivers: fix switch statements to comply with MISRA rules

Ensure (where possible) that switch statements in drivers comply with
MISRA rules 16.1 - 16.7.

Change-Id: I7a91e04b02af80fbc4673a52293386c0f81a0f7a
Signed-off-by: Jonathan Wright <[email protected]>
drivers/arm/cci/cci.c
drivers/arm/gic/v2/gicv2_main.c
drivers/arm/gic/v3/gicv3_main.c
drivers/synopsys/emmc/dw_mmc.c
drivers/ufs/ufs.c